<% if @searchqueries %>
  <table width="100%">
    <tr>
      <td class="regularsubject">
        Populära sökningar
      </td>
    </tr>
    <tr>
      <td class="regulartext">
        <% @searchqueries.each do |s| %>
          <%= link_to(s.query,
            category_url(@category,@province,@county,s.query),
            :onclick => "go_to_category('#{@category}','#{s.query}'); return false;") %>
          <%= "," unless @searchqueries.last == s %>
        <% end %>
      </td>
    </tr>
  </table>
<% end %>